// 数据资产交易平台
import request from '@/request/request'
//最新产品
export function getProductList(params) {
	return request({
		url: '/dev-api/portal/productModel/list',
		method: 'get',
		params
	})
}
// 最新资讯
export function getNewList(params) {
	return request({
		url: '/dev-api/portal/productNews/listProductNewsWithPage',
		method: 'get',
		params
	})
}
// 首页计算
export function getCount(params) {
	return request({
		url: '/dev-api/portal/productModel/getCount',
		method: 'get',
		params
	})
}
// top10
export function proTop(params) {
	return request({
		url: '/dev-api/portal/productModel/top10ByNum',
		method: 'get',
		params
	})
}
//成果列表
export function getAchievement(params) {
	return request({
		url: '/dev-api/portal/exchangeResults/list',
		method: 'get',
		params
	})
}
//最新资讯
export function newList(params) {
	return request({
		url: '/dev-api/portal/productNews/listProductNewsWithPage',
		method: 'get',
		params
	})
}
//最新资讯-详情
export function newDetail(params) {
	return request({
		url: '/dev-api/portal/productNews/getProductNewById',
		method: 'get',
		params
	})
}
